﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class User
    {
        private int account;
        private string username;
        private int password;


        public int Account
        {
            get { return this.account; }
            set { this.account = value; }
        }
        public string Username
        {
            get { return this.username; }
            set { this.username = value; }
        }
        public int Password
        {
            get { return this.password; }
            set { this.password = value; }
        }
        public void Use()
        {
            Console.WriteLine("账号是："，account);
            Console.WriteLine("用户名是："，username);
            Console.WriteLine("密码是："，password);
        }
    }
}
